﻿
namespace Neo4jConnect.Rest
{
    public interface INodeService
    {         
        string GetRoot();

        string Create();
        string Create(string nodeData);
        string Get(ulong nodeId);
        void Delete(ulong nodeId);

        void SetProperties(ulong nodeId, string nodeData);
        string GetProperties(ulong nodeId);
        void RemoveProperties(ulong nodeId);

        void SetProperty(ulong nodeId, string propertyName, string propertyValue);
        string GetProperty(ulong nodeId, string propertyName);
        void RemoveProperty(ulong nodeId, string propertyName);        
    }
}
